package com.sdp.khy.baotou.db.khy_user_adress.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author zsp
 * @since 2023-12-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("khy_user_adress")
public class KhyUserAdress extends Model<KhyUserAdress> {

    private static final long serialVersionUID=1L;

    /**
     * 内码
     */
    @TableId("key_id")
    private String keyId;

    /**
     * 用户手机号
     */
    @TableField("user_no")
    private String userNo;

    /**
     * 姓名
     */
    @TableField("adress_name")
    private String adressName;

    /**
     * 电话
     */
    @TableField("adress_phone")
    private String adressPhone;

    /**
     * 寄送站点编号
     */
    @TableField("adress_station_no")
    private String adressStationNo;

    /**
     * 寄送站点名称
     */
    @TableField("adress_station_name")
    private String adressStationName;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private LocalDateTime createTime;


    @Override
    protected Serializable pkVal() {
        return this.keyId;
    }

}
